PEGetSectionFormat

Use PEGetSectionFormat to retrieve the section format settings for selected sections in the specified report and supply them as member values for PESectionOptions. Use this function in order to update the section formats and pass them back using PESetSectionFormat.

C Syntax
BOOL CRPE_API PEGetSectionFormat (
        short printJob,
        short sectionCode,
        PESectionOptions FAR *options );
Parameters

printJob

Specifies the print job that you want to query to determine what report section options have been set using the Format Section dialog box.

sectionCode

Specifies theSection Codes, for the report section(s) for which you want to get section format information. See Working with section codes.

options

Specifies a pointer to PESectionOptions.

Returns
VB Syntax

VB Sample Code for modifying sections and lines

Declare Function PEGetSectionFormat Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal sectionCode As Integer,
    Options As PESectionOptions ) As Integer
Delphi Syntax

Delphi code for getting/setting section format

function PEGetSectionFormat (
    printJob: Word;
    sectionCode: integer;
    var options: PESectionOptions
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com